<section id="main-content">
	<section class="wrapper">
		<ol class="breadcrumb">
			<li><a href="{:Url('Index/index')}"><span
					class="glyphicon glyphicon-home" aria-hidden="true"
					style="color: #f00"></span></a></li>
			<li class="active"><font><font>玩家列表</font></font></li>
		</ol>
		<div class="typo-agile">

			<div class="col-sm-3" style="margin-left: 600px">
				<div class="input-group">
					<form action='' method='get'>
						<input style="width: 185px; height: 33px" type="text"
							class="input-sm form-control" value='{$Think.get.keyword}'
							name="keyword" /> <span class="input-group-btn">
							<button class="btn btn-sm btn-default" type="submit">
								搜索(ID)</button>
						</span>
					</form>
				</div>

			</div>

			<div class="bs-docs-example">
				<table class="table table-hover">
					<thead>
						<tr>
							<th data-breakpoints="xs">ID</th>
							{if condition="$root.status eq 1"}
							<th>昵称</th>	
							<th>用户余额</th>
							<th>下注详情</th>
							{else /}{/if}
							<th>充值</th> 
							<th ><font>账号状态</font></th>
							<!-- <th ><font>代理权限</font></th> -->
							<!-- <th ><font>喇叭权限</font></th> -->
							<th>减余额</th>
						</tr>
					</thead>

				{volist name="list" id="vo"}

					<tr data-expanded="true">
						<td><font>{$vo.id}</font></td>
						{if condition="$root.status eq 1"}
						<td style="width: 100px">{$vo.nickname}</td>
						<td>{$vo.user_money}</td>
					<td><a href="{:Url('User/xiang',array('id'=>$vo['id']))}"><span
								class="label label-warning">查看</span></a></td>
							{else /}{/if}
							
							<td> 
							<form class="form-horizontal bucket-form" method="post" action="">
								<input type="text" style="width: 60px; height: 30px;"
									name="chongz" /> 
									<input type="hidden" name="uid" value="{$vo['id']}" />
								<button type="submit" class="btn btn-danger">充值</button>
							</form>
						</td> 
						<td>{if condition="$vo['state'] eq 1"} <span
								class="label label-info">使用中</span> {else /}<span
								class="label label-danger"> 已禁用 </span>{/if} <span
							style="color: #ccc; font-size: 20px">/</span> <a
							href="{:Url('User/state',array('id'=>$vo['id']))}"><span
								class="label label-info">修改</span></a></td>
						<!-- <td>{if condition="$vo['daili'] eq 1"}
						 <span class="label label-success"> ✔</span> {else /}
						 <span class="label label-danger"> ✘ </span>{/if} <span
							style="color: #ccc; font-size: 20px">/</span> <a
							href="{:Url('User/quanx',array('id'=>$vo['id']))}"><span
								class="label label-info">修改</span></a></td> -->
						<!-- <td>{if condition="$vo['is_laba'] eq 1"}
						 <span class="label label-success"> ✔</span> {else /}
						 <span class="label label-danger"> ✘ </span>{/if} <span
							style="color: #ccc; font-size: 20px">/</span> <a
							href="{:Url('User/laba',array('id'=>$vo['id']))}"><span
								class="label label-info">修改</span></a></td>	 -->
						<td> 
							<form class="form-horizontal bucket-form" method="post" action="{:Url('User/jianqian')}">
								<input type="text" style="width: 60px; height: 30px;"
									name="chongz" /> <input type="hidden" name="uid"
									value="{$vo['id']}" />
								<button type="submit" class="btn btn-danger">减</button>
							</form>
						</td> 	
					</tr>
					{/volist}
					</tbody>
				</table>
				{$list->render()}
			</div>
		</div>
	</section>